﻿<!DOCTYPE html>
<html lang="zh">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>手机话费流量 - EasyAPI服务市场</title>
  <link href="./css/site.min.css" rel="stylesheet"/>
  <link href="https://static.easyapi.com/css/header.css" rel="stylesheet"/>
  <meta name="descriptions" content="EasyAPI手机话费流量"/>
  <meta name="keywords" content="手机话费流量,手机充值,话费充值,流量充值"/>
  <link rel="stylesheet" href="https://cdn.bootcss.com/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css">
  <link rel="stylesheet" href="https://cdn.bootcss.com/OwlCarousel2/2.3.4/assets/owl.carousel.min.css">
  <link rel="stylesheet" href="css/style.css">
</head>
<style>
  .operator {
    display: flex;
    justify-content: space-around;
  }

  .u-liuliang {
    background: url("./images/mobile.png");
  }
</style>
<body>
<div class="site-header" style="background-image:url(https://static.easyapi.com/images/market/liuliang/img1.png)">
  <div class="container">
    <div class="header">
      <ul class="header-logo">
        <li><a href="https://www.easyapi.com/"><img src="https://static.easyapi.com/images/market/logo.png"></a></li>
        <li><span>&nbsp;·&nbsp;</span><a href="index.html">流量充值</a></li>
      </ul>
      <ul class="side-nav">
        <li><a href="https://account.easyapi.com/login">文档</a></li>
        <li id="login"><a href="https://account.easyapi.com/login">登录</a></li>
        <li class="console dis_hide" id="console"><a href="/console/">控制台</a></li>
        <li class="avatar dis_hide" id="avatar">
          <img id="photo" src="https://qiniu.easyapi.com/user/default.jpg!icon.jpg">
          <div class="avatar-down">
            <div class="avatar-item">
              <a href="https://account.easyapi.com/notification/">我的通知</a>
            </div>
            <div class="avatar-item">
              <a href="https://account.easyapi.com/setting/data">个人设置</a>
            </div>
            <div class="avatar-item">
              <a href="https://account.easyapi.com/logout">退出</a>
            </div>
          </div>
        </li>
      </ul>
    </div>
    <div class="u-info f-tal" style="margin-top:180px;">
      <h2 class="f-ff48 title" style="font-size: 30px">手机流量充值首选EasyAPI</h2>
      <p class="f-ff20 tex" style="font-size: 20px;">提供优质稳定的流量资源</p>
    </div>
  </div>
</div>
<div class="m-centerbox">
  <div class="container">
    <ul class="u-icons clearfix operator">
      <li>
        <img src="https://static.easyapi.com/images/market/liuliang/ic1.png">
        <p>移动号码</p>
        <div class="tex">
          仅限广东移动2G/3G/4G手机用户充值流量
          所充值流量，可全国
        </div>
      </li>
      <li>
        <img src="https://static.easyapi.com/images/market/liuliang/ic2.png">
        <p>会员营销短信</p>
        <div class="tex">
          全国联通3G/4G手机用户充值流量
          目前暂不支持2G用户和上网卡用户
        </div>
      </li>
      <li>
        <img src="https://static.easyapi.com/images/market/liuliang/ic3.png">
        <p>语音验证码</p>
        <div class="tex">
          全国电信2G/3G/4G手机用户充值流量
          所充值流量，可全国范围内使用
        </div>
      </li>

    </ul>
  </div>
</div>

<div class="m-centerbox">
  <div class="container">
    <div class="u-title">使用场景</div>
    <ul class="u-icons clearfix">
      <li>
        <img src="https://static.easyapi.com/images/market/liuliang/ic4.png">
        <p>分享送流量</p>
      </li>
      <li>
        <img src="https://static.easyapi.com/images/market/liuliang/ic5.png">
        <p>抽奖送流量</p>
      </li>
      <li>
        <img src="https://static.easyapi.com/images/market/liuliang/ic6.png">
        <p>体验送流量</p>
      </li>
      <li>
        <img src="https://static.easyapi.com/images/market/liuliang/ic7.png">
        <p>签到送流量</p>
      </li>
      <li>
        <img src="https://static.easyapi.com/images/market/liuliang/ic8.png">
        <p>回馈客户送流量</p>
      </li>
      <li>
        <img src="https://static.easyapi.com/images/market/liuliang/ic9.png">
        <p>节日福利送流量</p>
      </li>
      <li>
        <img src="https://static.easyapi.com/images/market/liuliang/ic10.png">
        <p>线下推广送流量</p>
      </li>
      <li>
        <img src="https://static.easyapi.com/images/market/liuliang/ic11.png">
        <p>手机游戏送流量</p>
      </li>
    </ul>
  </div>
</div>

<div class="page-liulinag">
  <div class="u-liuliang">
    <h3 class="aaa">充值价格</h3>
    <div class="u-tab">
      <div class="container">
        <a class="active">
          <img src="https://static.easyapi.com/images/market/liuliang/y1.png">
          移动流量
        </a>
        <a>
          <img src="https://static.easyapi.com/images/market/liuliang/y2.png">
          联通流量
        </a>
        <a>
          <img src="https://static.easyapi.com/images/market/liuliang/y3.png">
          电信流量
        </a>
      </div>
    </div>
  </div>
  <div class="container">
    <div class="u-form">
      <div class="item">
        <span class="nm">手机号码</span>
        <div class="rb input">
          <input type="text" id="mobile" placeholder="手机号码">
        </div>
      </div>
      <div class="item">
        <span class="nm">适用范围</span>
        <div class="rb u-label">
          <label><input name="Fruit" type="radio" value=""/> 本地漫游 </label>
          <label><input name="Fruit" type="radio" value=""/> 全国漫游 </label>
        </div>
      </div>
      <div class="item">
        <span class="nm">充值流量</span>
        <div class="rb u-change" id="ul_list">
        </div>
      </div>
      <div class="item" id="Lmore" style="display: none">
        <span></span>
        <div class="rb u-change input">
          <input type="text" placeholder="输入流量">
        </div>
      </div>
      <div class="item">
        <span class="nm">接口价格</span>
        <div class="rb u-price">
          <span class="f-c-warning">￥<i class="f-ff36" id='price'>0</i></span>
          <!-- <em>￥10.0</em> -->
        </div>
      </div>
      <div class="item">
        <span class="nm"> </span>
        <div class="rb u-ft">
          <a class="btn" href="https://market.easyapi.com/service/4">充值支付</a>
        </div>
      </div>
    </div>
  </div>
</div>

<div class="u-footinfo">
  <div class="container">
    <p>马上使用更好的流量充值服务商</p>
    <div class="btns">
      <a href="" class="btn">查看API文档</a>
      <a href="https://account.easyapi.com/signup" class="btn">立即免费注册</a>
    </div>
  </div>
</div>

<div class="footer f-cb">
  <p>
    <a href="https://www.easyapi.com/info/about">关于我们</a>
    <a href="https://www.easyapi.com/info/together">合作伙伴</a>
    <a href="https://www.easyapi.com/info/contact">联系我们</a>
    <a href="https://www.easyapi.com/info/donate">支持我们</a>
  </p>
  <p>Copyright © 2015～2021 帮趣团队</p>
  <p><a href="https://beian.miit.gov.cn" target="_blank">沪ICP备19007521号</a></p>
</div>
<script src="https://cdn.bootcss.com/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.suoluomei.com/common/js2.0/vue/v2.5.16/vue.js"></script>
<script src="https://cdn.bootcss.com/OwlCarousel2/2.3.4/owl.carousel.min.js"></script>
<script type="text/javascript"
        src="https://cdn.bootcss.com/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<script>

  $('a').click(function () {
//        $(this).css('background', 'blue').siblings().css('background', 'pink');
    $(this).addClass('active').siblings().removeClass('active');
  });


  var flowId = ''
  $("#change-more").on("click", function () {
    $(this).prevAll().removeClass('active');
    $("#Lmore").toggle();
  });
  $(document).ready(function () {
    search()
  });
  $('[setL]').on("click", function () {
    $(this).prevAll().removeClass('active');
    $(this).addClass("active");
  });

  function choseName(id, price) {
    $("#" + id).siblings().removeClass('active');
    $("#" + id).addClass("active");
    flowId = id
    $("#price").html(price);
  }

  function search() {
    $.ajax({
      method: 'GET',
      url: 'https://api2.easyapi.com/api/flowOrder/menu',
      beforeSend: function (request) {
        request.setRequestHeader("Authorization", "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJ6d2pAYmFuZ3F1LmNvbSIsImF1dGgiOiJST0xFX1VTRVIiLCJleHAiOjE1NjUxNDczMzR9.Y6UU66ekSE5fYWQR_SnK1BM4xy_DOo5u9oWaEiDO8htUrKwQMSrlQfRIRcTjDjqfrSJzkRlOO_IfP2B5UmK-hg");
      },
      success: function (data) {
        var lbt = "";
        for (var v in data[0].flows) {
          if (v == 0) {
            lbt += '<span setL onClick="choseName(' + data[0].flows[v].id + ',' + data[0].flows[v].price + ')" id=' + data[0].flows[v].id + '>' + data[0].flows[v].name + '</span>';
          } else {
            lbt += '<span setL onClick="choseName(' + data[0].flows[v].id + ',' + data[0].flows[v].price + ')" id=' + data[0].flows[v].id + '>' + data[0].flows[v].name + '</span>';
          }
        }
        $("#ul_list").empty()
        $("#ul_list").append(lbt);
      }
    });
  }

  // function exchange () {
  //   let obj = {
  //     mobile: $('#mobile').val(),
  //     flowId: flowId
  //   }
  //   $.ajax({
  //       method: 'POST',
  //       data: JSON.stringify(obj),
  //       url: 'https://api2.easyapi.com/api/flowOrder/recharge',
  //       headers: {
  //           'content-type': 'application/json', // 或者不填
  //           'Authorization': "Bearer " + ($.cookie("authenticationToken"))
  //       },
  //       // beforeSend: function (request) {
  //       //   request.setRequestHeader("Authorization", "Bearer " + ($.cookie("authenticationToken")));
  //       // },
  //       success: function (data) {

  //       }
  //     });
  // }

</script>
<script src="https://static.easyapi.com/scripts/market/user.js"></script>
<script src="https://static.easyapi.com/scripts/meiqia.js"></script>
</body>

</html>
